<!doctype html>
<script>
self.addEventListener('message', e => {
  let url = URL.createObjectURL(e.data.blob);
  e.source.postMessage({url: url}, '*');
});
</script>